8b9263
@@ -65,7 +65,7 @@
   @JsonIgnoreProperties(ignoreUnknown = true)
   public static class TaskDisplay {
 
-    private Integer returnVal;  //if set, determines that task is complete.
+    private Integer returnValue;  //if set, determines that task is complete.
     private String errorMsg;
 
     private Long beginTime;
@@ -95,12 +95,12 @@
public TaskDisplay(Task task) {
     }
     @JsonIgnore
     public synchronized String getStatus() {
-      if (returnVal == null) {
+      if (returnValue == null) {
         return "Running";
-      } else if (returnVal == 0) {
+      } else if (returnValue == 0) {
         return "Success, ReturnVal 0";
       } else {
-        return "Failure, ReturnVal " + String.valueOf(returnVal);
+        return "Failure, ReturnVal " + String.valueOf(returnValue);
       }
     }
 
@@ -116,7 +116,7 @@
public synchronized Long getElapsedTime() {
     }
 
     public synchronized Integer getReturnValue() {
-      return returnVal;
+      return returnValue;
     }
 
     public synchronized String getErrorMsg() {
@@ -186,7 +186,7 @@
public synchronized void setStatusMessage(String statusMessage) {
   public synchronized void setTaskResult(String taskId, TaskResult result) {
     TaskDisplay taskDisplay = tasks.get(taskId);
     if (taskDisplay != null) {
-      taskDisplay.returnVal = result.getExitVal();
+      taskDisplay.returnValue = result.getExitVal();
       if (result.getTaskError() != null) {
         taskDisplay.errorMsg = result.getTaskError().toString();
       }
